package org.sportspace.base.domain

/**
 * 地理位置
 */
class Location {
    
    String id
    String name
    String chineseName
    String localName
    Location fatherName

    static constraints = {
        fatherName(nullable:true)
        name(size:2..255)
        chineseName(nullable:true)
        localName(nullable:true)
    }

    static mapping = {
        id(generator:"uuid")
    }
}
